package com.example.vspm.service.impl;

import com.example.vspm.entity.ExecutiveReport;
import com.example.vspm.mapper.ExecutiveReportMapper;
import com.example.vspm.service.ExecutiveReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LCL
 * @date 2022/3/13
 * @desc
 */
@Service
public class ExecutiveReportImpl implements ExecutiveReportService {
    @Autowired
    ExecutiveReportMapper executiveReportMapper;

    @Override
    public void addExecutiveReport(int taid, ExecutiveReport executiveReport) {
        executiveReportMapper.addExecutiveReport(taid,executiveReport);
    }

    @Override
    public List<ExecutiveReport> listExecutiveReportByTid(int taid) {
        return executiveReportMapper.listExecutiveReportByTid(taid);
    }

}
